package com.cgs.query.handler

/**
 * 用户信息aware
 */
interface UserInfoHolderAware {

    fun setUserInfoHolder(userInfoHolder: UserInfoHolder)
}

/**
 * 用户信息具体获取
 */
interface UserInfoHolder {

    fun getUserId(): String

    fun getUserInfo(): UserInfo? = null
}

class UserInfo(val id: String)